home *** CD-ROM | disk | FTP | other *** search
- Path: rcp6.elan.af.mil!rscernix!danpop
- From: danpop@mail.cern.ch (Dan Pop)
- Newsgroups: comp.lang.c
- Subject: Re: Input of hex 00 on PC
- Date: 19 Feb 96 08:59:45 GMT
- Organization: CERN European Lab for Particle Physics
- Message-ID: <danpop.824720385@rscernix>
- References: <017264WYPPFRNVKUSFUY@abq-ros.com>
- NNTP-Posting-Host: ues5.cern.ch
- X-Newsreader: NN version 6.5.0 #7 (NOV)
-
- In <017264WYPPFRNVKUSFUY@abq-ros.com> tpenner@abq-ros.com writes:
-
-
- >How can I input hex 00 to a Turbo C program?
- >
- >A book I have indicates Ctrl-l (lowercase L) or Ctrl-1 (digit one)
- >...I can't discern the difference with the typeface the book used.
-
- The book is not only badly printed, it's also plain bad: CTRL-l is the
- same as CTRL-L (in fact, you normally press CTRL-l) and gives ASCII FF.
- The behaviour of CTRL-1 is entirely terminal-dependent.
-
- >However, I tried both, and neither seems to input hex 00.
- >
- >P.S. As you can tell, I'm just learning C now.
-
- This has nothing to do with the C language, but since I cannot redirect
- you to a better newsgroup: the canonical way of inputing ASCII NUL (from
- an ASCII keyboard) is CTRL-@. Other combinations that may or may not
- work (depending on your terminal) are CTRL-Space and CTRL-`.
-
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-